﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Kingdee.BOS.Core.CloudModel.Crm
{
    public class LoginToken
    {
        /// <summary>
        /// 
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 登录成功
        /// </summary>
        public string msg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int user_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Data data { get; set; }
    }
    public class Role
    {
        /// <summary>
        /// 
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 超管
        /// </summary>
        public string role_name { get; set; }
        /// <summary>
        /// 超管
        /// </summary>
        public string role_desc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string action_list { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int type { get; set; }
    }

    public class User
    {
        /// <summary>
        /// 
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int role_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string login_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mobile { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string token { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int gfw_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Role role { get; set; }
    }

    public class Data
    {
        /// <summary>
        /// 
        /// </summary>
        public User user { get; set; }
    }
}
